import request from '@/utils/request'

// 查询选择芯鱼宣传短句列表
export function listJoinusxinyu(query) {
  return request({
    url: '/system/joinusxinyu/list',
    method: 'get',
    params: query
  })
}

// 查询选择芯鱼宣传短句详细
export function getJoinusxinyu(sysJoinusid) {
  return request({
    url: '/system/joinusxinyu/' + sysJoinusid,
    method: 'get'
  })
}

// 新增选择芯鱼宣传短句
export function addJoinusxinyu(data) {
  return request({
    url: '/system/joinusxinyu',
    method: 'post',
    data: data
  })
}

// 修改选择芯鱼宣传短句
export function updateJoinusxinyu(data) {
  return request({
    url: '/system/joinusxinyu',
    method: 'put',
    data: data
  })
}

// 删除选择芯鱼宣传短句
export function delJoinusxinyu(sysJoinusid) {
  return request({
    url: '/system/joinusxinyu/' + sysJoinusid,
    method: 'delete'
  })
}

// 导出选择芯鱼宣传短句
export function exportJoinusxinyu(query) {
  return request({
    url: '/system/joinusxinyu/export',
    method: 'get',
    params: query
  })
}